var app = getApp();

Page({
  data: {
    itemList:[
      {imgUrl:'../../imgs/sample/sample_01.png',
      title:'故事接龙',
      text:'(发布故事的开头，让不同读者接龙，产生多条故事线)',
      href:"/pages/releasenotes/releasenotes"},
      {imgUrl:'../../imgs/sample/sample_02.png',
       href:'/pages/amended/amended',
      title:'邀请修改',
      text:'(上传未完成已完成的作品，让读者提出修改意见)'},
      {imgUrl:'../../imgs/sample/sample_03.png',
      href:'/pages/titlewriting/titlewriting',
      title:'出题写作',
      text:'(发布一道题目，让读者来写，题目形式不限)'}
    ]
  },
  onLoad (options) {
    let that = this
    // 页面初始化 options为页面跳转所带来的参数
  },
  go (e) {
    let urls = e.currentTarget.dataset.url
    wx.navigateTo({
      url: urls
    })
  },
  onReady () {
    // 页面渲染完成
  },
  onShow () {
    // 页面显示
  },
  onHide () {
    // 页面隐藏

  },
  onUnload () {
    // 页面关闭

  }
})
